WINDRES  = windres
SYG_RC   = windows/resource.rc

LDFLAGS  += -Wl,-Bstatic
LDLIBS   = -static-libgcc -lsodium -lws2_32 -lpthread

SYG_OBJS += $(patsubst %.rc,obj/%.o,$(SYG_RC))

obj/%.o: %.rc
	$(WINDRES) -i $< -o $@
